def find_missing_number(shuffled_list):
    # 计算1到10的总和
    total_sum = sum(range(1, 11))

    # 计算打乱后的列表中所有数字的总和
    list_sum = sum(shuffled_list)

    # 缺失的数字就是两者之差
    missing_number = total_sum - list_sum

    return missing_number


# 打乱顺序后的数字列表
shuffled_numbers = [10, 1, 4, 3, 6, 9, 2, 5, 7]

# 调用函数并打印结果
missing_number = find_missing_number(shuffled_numbers)
print("The missing number is:", missing_number)